﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BukkitSharp.org.bukkit
{
    class Achievement
    {
        public enum List
        {
            OPEN_INVENTORY       = 0,  // Player looked into his inventory.
            MINE_WOOD            = 1,  // Player chopped some wood.
            BUILD_WORKBENCH      = 2,  // Player build a workbench.
            BUILD_PICKAXE        = 3,  // Player made the pickaxe tool.
            BUILD_FURNACE        = 4,  // Player build a furnace.
            ACQUIRE_IRON         = 5,  // Player mined iron ore.
            BUILD_HOE            = 6,  // Player made the hoe tool.
            MAKE_BREAD           = 7,  // Player made a loaf of bread.
            BAKE_CAKE            = 8,  // Player made a nice cake.
            BUILD_BETTER_PICKAXE = 9,  // Player got a better pickaxe than Iron.
            COOK_FISH            = 10, // Player cooked fish.
            ON_A_RAIL            = 11, // Player has made a ride on a Minecart.
            BUILD_SWORD          = 12, // Player made a sword.
            KILL_ENEMY           = 13, // Player killed a creature, or PvP player.
            KILL_COW             = 14, // Player killed a cow.
            FLY_PIG              = 15, // Player has made a ride on a Pig.
            SNIPE_SKELETON       = 16, // Player shot a skeleton with a bow.
            GET_DIAMONDS         = 17, // Player obtained a diamond.
            NETHER_PORTAL        = 18, // Player entered the Nether.
            GHAST_RETURN         = 19, // Player destroyed a Ghast with a fireball.
            GET_BLAZE_ROD        = 20, // Player obtained a Blaze Rod.
            BREW_POTION          = 21, // Player made a Potion.
            END_PORTAL           = 22, // Player made a End Portal.
            THE_END              = 23, // Player killed the End Dragon.
            ENCHANTMENTS         = 24, // Player enchanted his weapon.
            OVERKILL             = 25, // Player dealt 8 hearts of damage in 1 hit.
            BOOKCASE             = 26, // Player built some bookcases.
        }

        public static int STATISTIC_OFFSET = 0x500000;
        private static int id;

        private Achievement(int id)
        {
            id = STATISTIC_OFFSET + id;
        }
    }
}
